<template>
  <div class="box">
    <h5>ONE-第二层组件</h5>
    <p>info:{{ info }}</p>
    <input type="text" v-model="info" />
  </div>
</template>

<script>
export default {
  data() {
    return {
      info: "ONE-第二层组件数据",
    };
  },
  watch: {
    info(nv) {
      this.$emit("update-info", nv);
    },
  },
};
</script>
